package me.boot.sys.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import me.base.commom.model.dto.BaseEntityDTO;

/**
 * <p>
 *
 * </p>
 *
 * @author Sylar
 * @since 2021-11-24
 */
@Getter
@Setter
@ApiModel(value = "SysRoleDataPermissionDTO 对象", description = "")
public class SysRoleDataPermissionDTO extends BaseEntityDTO<Long> {

    @ApiModelProperty("角色id")
    private Long roleId;

    @ApiModelProperty("依赖的资源id")
    private Long dependedResourceId;

    @ApiModelProperty("业务数据表")
    private String dataTable;

    @ApiModelProperty("数据权限需要排除的字段")
    private String excludeColumns;

    @ApiModelProperty("数据权限需要保留的字段")
    private String includeColumns;

    @ApiModelProperty("数据权限类型")
    private Integer dataScopeType;

    @ApiModelProperty("自定义数据权限类型的sql表达式")
    private String customExpression;

}
